/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.dao;

import br.com.deployment.entities.Category;
import br.com.deployment.entities.Issues;
import br.com.deployment.entities.Questionnaire;
import br.com.deployment.entities.Response;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author ely
 */
@Remote
public interface IssuesDAO {
    
    public void save(Issues issues);

    public void delete(Issues issues);

    public void update(Issues issues);

    public Issues find(Long id);

    public List<Issues> findAll();

    public List<Issues> findIssues(Issues issues);
    
    public List<Issues> findIssues(Category category);
    
    public List<Issues> findIssuesType(Category category, Questionnaire q);
    
    public List<Issues> findIssuesResponse(Response response);
    
     public Issues findIssuesResponseOne(Response response);
    
   
}
